package com.sutong.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sutong.platform.model.entity.ShortLink;
import com.sutong.platform.model.vo.ShortLinkVo;

/**
 * @author sutong
 * @description 短链表Service
 */
public interface ShortLinkService extends IService<ShortLink> {

    ShortLinkVo generateShortUrl(String longUrl);

    String getLongUrl(String shortUrl);

    void visitCountPlus(String shortUrl);
}
